﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BCEntity.OA.BusinessFlowRecord
{
    /// <summary>
    /// OA系统业务流记录
    /// </summary>
    public class BusinessFlowRecordEntity
    {

        /// <summary>
        /// OA系统业务流记录Id
        /// </summary>		
        public long BusinessFlowRecordId { get; set; }
        /// <summary>
        /// 业务流模型编码
        /// </summary>		
        public string BusinessFlowModelCode { get; set; }
        /// <summary>
        /// 记录标题
        /// </summary>
        public string RecordTitle { get; set; }
        /// <summary>
        /// 引用编号
        /// </summary>		
        public string ReferenceNo { get; set; }
        /// <summary>
        /// 已初始化
        /// </summary>		
        public bool IsInitialized { get; set; }
        /// <summary>
        /// 初始化已失败
        /// </summary>		
        public bool IsInitFailed { get; set; }
        /// <summary>
        /// 初始化失败备注
        /// </summary>		
        public string FailedRemark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>		
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 初始化完成时间
        /// </summary>		
        public DateTime? InitializedTime { get; set; }
        /// <summary>
        /// 业务流实例Id
        /// </summary>
        public long BusinessFlowInstanceId { get; set; }
        /// <summary>
        /// 已关闭的
        /// </summary>
        public bool IsClosed { get; set; }
        /// <summary>
        /// 关闭人Id
        /// </summary>
        public long? CloseAdminId { get; set; }
        /// <summary>
        /// 关闭人
        /// </summary>
        public string CloseAdminName { get; set; }
        /// <summary>
        /// 关闭时间
        /// </summary>
        public DateTime? CloseTime { get; set; }
        /// <summary>
        /// 关闭备注
        /// </summary>
        public string CloseRemark { get; set; }
        /// <summary>
        /// 已完成
        /// </summary>
        public bool IsCompleted { get; set; }
    }
}
